Method for data exchange between an operating and monitoring program and a field device

ABSTRACT

In connection with a method for the data exchange between an operating and monitoring program BA and a field device ( 10, 20, 30 ), which is connected via a field bus adapter ( 5 ) with the internet, the operating and monitoring program BA accesses a serial interface ( 8 ), which is connected with an internet interface ( 13 ). By means of this a data exchange between the operating and monitoring program BA via the internet is possible without extensive program changes.

[0001] The invention relates to a method for a data exchange between an operating and monitoring program and a field device, which is connected with the internet via a field bus adapter.

[0002] In process control technology, field devices are often used for detecting and affecting process values.

[0003] Examples of field devices are temperature measuring devices, which detect the temperature of a process medium, flow meters, which detect the flow of a process medium through a section of a pipeline, or fill indicators, which determine the fill level of a fluid or of bulk material in a container.

[0004] Process control is performed from a control system which is connected with the individual field devices via a data bus. All information required for process control is exchanged between the control system and the field devices via the data bus.

[0005] A data bus which is often employed operates in accordance with the HART standard of the HART^(R) foundation. Field devices which operate in accordance with the HART standard are also called HART devices.

[0006] Besides this, Profibus^((R)) or Foundation Fieldbus^((R)), inter alia, are often employed as field buses in process automation technology.

[0007] Besides the straight transmission of measured values, field devices also permit the transmission of different information stored in the field device, for example parameters (zero point, measured value capacity, etc.), calibration curves, as well as diagnostic information. The parameters can be set from the control system or from an operating and display device.

[0008] This process is also called configuration and parameterization of the field device.

[0009] The field device must be configured and parameterized prior to each first use or after a device change.

[0010] The operating and monitoring programs mostly run on computer units (PCs, laptops), which are connected via a serial COM interface (for example RS232, RS485) with a field bus adapter connected to a field bus.

[0011] Commercially available operating and monitoring programs are, for example, CommuWin of the Endress+Hauser Maulburg, or ReadWin of the Endress+Hauser Wetzer, companies.

[0012] The disadvantage of these standard application programs lies in that they can only be used in the immediate vicinity of the field bus, since a cable connection between the computer unit and the field bus adapter is necessary. A data exchange over greater distances (worldwide in the extreme case) is therefore not possible.

[0013] In principle, standard application programs can be rewritten in such a way that they access the field devices via an internet interface. However, this requires a considerable programming outlay and extensive adaptations.

[0014] Application programs for control systems are furthermore known, which access the internet via an internet interface and establish the connection with the field buses via appropriate gateways. Worldwide access to field devices becomes possible by means of this.

[0015] In most cases, application programs for control systems are voluminous and expensive.

[0016] The object of the invention is based on creating a method for data exchange between an operating and monitoring program and a field device which, by simple means and with the use of standard application programs, makes possible the access to field devices over extended distances via the internet.

[0017] This object is attained by means of a method for data exchange between an operating and monitoring program and a field device which is connected to the internet by means of a field bus adapter, and is distinguished in that the operating and monitoring program accesses a serial interface which is connected with an internet interface.

[0018] An essential idea of the invention lies in that the operating and monitoring device furthermore accesses a serial interface. Therefore the operating and monitoring devices does not “realize” that the connection to the field device does not take place via an RS232 connection, but via the internet.

[0019] Advantageous further developments of the invention are recited in the dependent claims.

[0020] In accordance with a first embodiment of the invention, the connection between the operating and application program and the internet interface takes place via a first COM interface, a zero modem cable and a second COM interface.

[0021] Here, the connection takes place via two physically present interfaces, for example COM1 and COM2 of the computer unit on which the operating and monitoring program runs.

[0022] This application only requires an appropriate driver for the internet interface which performs the program conversion and manages the addresses of the field bus adapters.

[0023] In accordance with a second embodiment of the invention, the connection between the operating and application program and the internet interface takes place via a virtual serial interface.

[0024] Although this design requires a slightly greater programming outlay, it can also be used in connection with computer units, in particular laptops, which do not have two physically present serial interfaces.

[0025] The invention will be explained in greater detail by means of the following drawings.

[0026]FIG. 1 shows a field bus with a computer unit and several field devices in a schematic representation,

[0027]FIG. 2 shows the computer unit in accordance with a first embodiment of the invention,

[0028]FIG. 3 shows the computer unit in accordance with a second embodiment of the invention.

[0029] A field bus 1 with several field devices 10, 20, 30 is represented in FIG. 1.

[0030] The field devices 10, 20, 30 are connected with a control system 4 via a data bus line 3, or with a computing unit 9 via a field bus adapter 5 (for example CommuBox of the Endress+Hauser company). To this end a connecting line 7 leads from the field bus adapter 5 to the COM plug connector 8 of the computer unit 9. Serial data transmission on the connecting line 7 takes place in accordance with the RS232 or RS485 standards.

[0031] The computer unit 9 is a personal computer (PC) or a portable laptop.

[0032] The field bus 1 operates in accordance with known international standards, such as HART^(R), Profibus^((R)) or Foundation Fieldbus^((R)).

[0033] Examples of field devices are, for example, temperature measuring devices, which detect the temperature of a process medium, flow meters, which detect the flow through a section of a pipeline, or fill indicators, which determine the fill level of a bulk material in a container.

[0034] The respective measured values are transmitted to the control system 4 through the data bus line 3. The control system 4 controls the entire process course on the basis of the detected measured values.

[0035] Besides straight measured value transmission, intelligent field devices (smart field devices) allow the transmission of various information stored in the field device. Thus it is possible to call up, or change, various parameters from the control system 4, or from the computing unit 9. Such parameters are, for example, the zero point, measured value capacity (range), or the unit in which the measured value is put out.

[0036] It is moreover possible, for example in connection with fill level measuring devices operating in accordance with the echo principle, to read out echo curves. Conclusions regarding the ability of the fill level measuring device to function can be drawn from the echo curve.

[0037] Besides this it is also possible to call up diagnostic information. Some field devices are already capable of performing a self-diagnosis. This means that defined core values of the field device are monitored for deviations from the set values.

[0038] Special operating and monitoring programs are used for displaying this information and changes of the parameters.

[0039] These operating and monitoring programs are installed in the computing unit 9. Customary programs directly access the COM interface 8 of the computing unit 9.

[0040]FIG. 2 shows a computing unit 9 in accordance with a first embodiment of the invention. Besides a first COM interface 8, the computing unit 9 has a second COM interface 8 a.

[0041] The two interfaces 8 and 8 a are connected with each other by means of a zero modem cable 11.

[0042] The computing unit 9 has an internet interface 13, which is connected via the internet with a field bus adapter 5 connected to the field bus 1.

[0043] The operating and monitoring program BA accesses the COM1 interface 8 of the computing unit 9 in the customary manner. The data connection with the internet interface 13 takes place via the zero modem cable 11 and the COM2 interface 8 a. By means of an appropriate driver program (bus client), the internet interface 13 sees to the conversion of the data to the TCP/IP standard and, via a stored address book, to the selection of the appropriate internet address of the field bus adapter 9. Data are exchanged between the computing unit 9 and the field bus adapter 5 via the internet. The field bus adapter sees to the conversion of the protocol to the appropriate field bus standard, for example HART^(R). The fact that several different field buses can be controlled via the internet interface 13 without mechanical re-plugging can be cited as a further advantage.

[0044]FIG. 3 shows an alternative embodiment of the invention. Here, the connection between the operating and monitoring program BA and the internet interface 13 takes place via a virtual interface V.

[0045] This design requires an increased software outlay since it is necessary to write a software program for the virtual interface. But the advantage here is that it is also suitable for computing units 9 which do not have two COM interfaces, which is often the case with laptops.

[0046] The essential idea of the invention resides in that access via the internet to field devices is possible by means of conventional operating and monitoring programs, without elaborate conversions of the source code of the operating and monitoring program being necessary. This is of importance mainly when the source code of the operating and monitoring program is not known because there is no company-owned program. 

What is claimed is:
 1. A method for a data exchange between an operating and monitoring program BA and a field device (10, 20, 30), which is connected via a field bus adapter (5) with the internet, characterized in that the operating and monitoring program BA accesses a serial interface (8), which is connected with an internet interface (13).
 2. The method in accordance with claim 1, characterized in that the connection between the operating and monitoring program BA and the internet interface (13) is provided via a first COM interface (8), a zero modem cable (11), and a second COM interface (8 a).
 3. The method in accordance with claim 1, characterized in that the connection between the operating and monitoring program BA and the internet interface (13) is provided via a virtual interface (V).
 4. The method in accordance with one of the preceding claims 1 to 3, characterized in that the field bus adapter operates in accordance with the HART^(R) standard.
 5. The method in accordance with one of the preceding claims 1 to 3, characterized in that the field bus adapter operates in accordance with the Profibus(R) standard.
 6. The method in accordance with one of the preceding claims 1 to 3, characterized in that the field bus adapter operates in accordance with the Foundation Fieldbus (R) standard.
 7. A device for executing the method in accordance with one of the preceding claims. 